package sxe.core.video;

import snobject.snImage;
import snobject.snObject;
import snobject.snObjectArgList;
import step.EvaluationFailure;
import step.FunctionWrapper;
import sxe.core.image.*;

public class framediff extends FunctionWrapper {

	@Override
	public snObject Call(snObjectArgList argv) throws EvaluationFailure,
			ClassCastException {
	   snImage sni1 = argv.popImage();
	   snImage sni2 = argv.popImage();		
	   
	   return ImageProcessing.Diff(sni1,sni2);
	   
		   }
	}

